package com.xsh.service;

import com.github.pagehelper.PageInfo;
import com.xsh.pojo.User;

public interface UserService {

    User findByUsername(String username);

    PageInfo<User> findByPageInfo(String order, Integer limit, Integer offset);

    void regist(User user);

    User findByUserId(Integer userId);

    void updateUser(User user);

    void deleteUser(Integer userId);
}
